Identifying Effective Software Metrics Using Genetic Algorithms
نویسنده
چکیده
Various software metrics may be used to quantify object-oriented source code characteristics in order to assess the quality of the software. This type of software quality assessment may be viewed as a problem of classification: given a set of objects with known features (software metrics) and group labels (quality rankings), design a classifier that can predict the quality rankings of new objects using only the software metrics.. We have obtained a variety of software measures for a Java application used for biomedical data analysis. A system architect has ranked the quality of the objects as low, medium-low, medium or high with respect to maintainability. A commercial program was used to parse the source code identifying 16 metrics. A genetic algorithm (GA) was implemented to determine which subset of the various software metrics gave the best match to the quality ranking specified by the expert. By selecting the optimum metrics for determining object quality, GA-based feature selection offers an insight into which software characteristics developers should try to optimize.
منابع مشابه
Finding Effective Software Metrics to Classify Maintainability Using a Parallel Genetic Algorithm
The ability to predict the quality of a software object can be viewed as a classification problem, where software metrics are the features and expert quality rankings the class labels. Evolutionary computational techniques such as genetic algorithms can be used to find a subset of metrics that provide an optimal classification for the quality of software objects. Genetic algorithms are also par...
متن کاملIdentifying Source Code Metrics to Improve Quality Predictive Models Using Genetic Algorithms
In order to develop high quality software in a timely and costeffective manner, it is essential to identify and correct faulty components. Predictive models are used to classify modules as potentially faulty and in need of further inspection. Source code metrics can be used as input features for the classifier, however, there exists a large number of measures that capture different aspects of c...
متن کاملSORMASA: A tool for Suggesting Model Refactoring Actions by Metrics-led Genetic Algorithm
In this paper we introduce SORMASA, SOftware Refactoring using software Metrics And Search Algorithms, a refactoring decision support tool based on optimization techniques, in particular Genetic Algorithms.
متن کاملUsing Source Code Metrics and Ensemble Methods for Fault Proneness Prediction
Software fault prediction model are employed to optimize testing resource allocation by identifying fault-prone classes before testing phases. Several researchers’ have validated the use of different classification techniques to develop predictive models for fault prediction. The performance of the statistical models are proven to be influenced by the training and testing dataset. Ensemble meth...
متن کاملSampling Imbalance Dataset for Software Defect Prediction Using Hybrid Neuro-fuzzy Systems with Naive Bayes Classifier
Original scientific paper Software defect prediction (SDP) is a process with difficult tasks in the case of software projects. The SDP process is useful for the identification and location of defects from the modules. This task will tend to become more costly with the addition of complex testing and evaluation mechanisms, when the software project modules size increases. Further measurement of ...
متن کامل